<include file="Public:header" />
			<include file="Public:menu" />
			<div id="right">
				<div class="top"></div>
				<div class="app_right_banner">
					<div class="app_face">
						<img src="__PUBLIC__/Uploads/face/small/{$userInfo['faceimg']}"/>
					</div>
					<div class="app_userinfo">
						<p class="app_module">{$group['name']} -- 群组修改</p>
						<p class = "app_module_back"><a href="__APP__/showgroup/{.id}">返回群组</a></p>
					</div>
				</div>
				<div class="app_right_menu">
					<div class="arm_1">
						群组信息修改
					</div>
					<div class="arm_2">
						<a href="__URL__/editgroupface/id/{.id}">群组头像修改</a>					
					</div>
					<div class="arm_2">
						<a href="__URL__/setgroupuser/id/{.id}">成员设置</a>					
					</div>
				</div>

				<div id="create_body" class="create_body">
					<form id="createGroupForm" action="__URL__/updategroup" method="post">
						<p>
							<label>名称:</label> <input name="name" id="groupName" type="text" class="create_input" value="{$group['name']}"/>
						</p>
						<p>
							<label>公告:</label> <textarea name="desc" class="create_input">{$group['desc']}</textarea>
						</p>
						<p>
							<label>类型:</label>
									<span class="setting" title="群组内容完全公开，随时可以加入。"><input  name="setting" type="radio" value="0" <equal name="group['setting']" value="0">checked</equal> /> 公开</span><span class="setting" title="非成员可以浏览群组资料，不能查看讨论区，需要批准才能加入。"><input class="setting" name="setting" type="radio" value="1" <equal name="group['setting']" value="1">checked</equal>/> 半公开</span><span class="setting" title="只有成员才能看到群组，非成员需要接受成员的邀请后才能加入。"><input class="setting" name="setting" type="radio" value="2" <equal name="group['setting']" value="2">checked</equal>/>	私密</span>	
						</p>
						<p>
							<label>网络:</label> <select name="network">
													<option value="{$group['network']}" selected>{$group['network']}</option>
													<option value="全站">全站</option>
													<option value="{$userInfo['network_city']}">{$userInfo['network_city']}</option>
												</select>
						</p>
						<div>
							<input type="hidden" name="id" value="{$group['id']}"/>
							<input type="submit" value="保存更新" class="input2"/> 
							<input type="button" class="input2" value="返回群组" onclick="location.href='__APP__/showgroup/{.id}'"/>
						</div>
					</form>
				</div>
			</div>
<include file="Public:footer" />